package com.stormrage.entity.learn.req;

import java.io.Serializable;

import com.stormragetech.core.entity.Page;

/**
 * @Title: LeaStudentCoureseReq.java
 * @Package com.stormrage.entity.learn.req
 * @Description: 学员学习进度 Entity
 * @author www.stormragetech.com
 * @date 2016年4月29日
 * @version V1.0
 */
public class LeaStudentCourseReq implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -8607121249466366879L;

	// ------------------------------- Fields -------------------------------

	private Integer stuId;

	private Page page;

	// ------------------------------- Fields -------------------------------

	public LeaStudentCourseReq() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getStuId() {
		return stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaStudentCourseReq instance(Integer stuId, Page page) {
		LeaStudentCourseReq entity = new LeaStudentCourseReq();
		entity.setStuId(stuId);
		entity.setPage(page);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : stuId - " + stuId + " page - " + page;
	}

}
